Package-level declarations

Types

Link copied to clipboard
open class ValidatedChoiceList<T> @JvmOverloads constructor(defaultValues: List<T>, choices: List<T>, handler: EntryHandler<T>, translationProvider: BiFunction<T, String, MutableText> = BiFunction { t, _ -> t.transLit(t.toString()) }, descriptionProvider: BiFunction<T, String, Text> = BiFunction { t, _ -> t.descLit("") }, widgetType: ValidatedChoiceList.WidgetType = WidgetType.POPUP) : ValidatedField<List<T>> , List<T>

A validated collection of choices of any type that can be enabled or disabled piece-meal.

Link copied to clipboard
open class ValidatedEnumMap<K : Enum<*>, V>(defaultValue: Map<K, V>, keyHandler: Entry<K, *>, valueHandler: Entry<V, *>) : ValidatedField<Map<K, V>> , Map<K, V>

A Validated Map with Enum keys

Link copied to clipboard
open class ValidatedIdentifierMap<V>(defaultValue: Map<Identifier, V>, keyHandler: ValidatedIdentifier, valueHandler: Entry<V, *>) : ValidatedField<Map<Identifier, V>> , Map<Identifier, V>

A Validated Map with Identifier Keys

Link copied to clipboard
open class ValidatedList<T>(defaultValue: List<T>, entryHandler: Entry<T, *>) : ValidatedField<List<T>> , List<T>

A validated list

Link copied to clipboard
open class ValidatedMap<K, V>(defaultValue: Map<K, V>, keyHandler: Entry<K, *>, valueHandler: Entry<V, *>) : ValidatedField<Map<K, V>> , Map<K, V>

A validated Map of arbitrary (Validated) keys and values

Link copied to clipboard
open class ValidatedSet<T>(defaultValue: Set<T>, entryHandler: Entry<T, *>) : ValidatedField<Set<T>> , Set<T>

a validated set

Link copied to clipboard
open class ValidatedStringMap<V>(defaultValue: Map<String, V>, keyHandler: Entry<String, *>, valueHandler: Entry<V, *>) : ValidatedField<Map<String, V>> , Map<String, V>

A Validated Map with String keys